// <copyright file="LazyLoad.aspx.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System;
using YUIAspNet;

namespace YUIAspNetDemo.DataTable
{
    public partial class LazyLoad : BaseDemoPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            RemoteDataSource src = new RemoteDataSource();
            src.DataUrl = new Uri("DummyDataTableHandler.asmx", UriKind.RelativeOrAbsolute);

            src.AddColumn("id");
            src.AddColumn("name");

            //src.AddSetting("totalRecords", 1000);


            this.tbl.Source = src;
        }
    }
}
